<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>用户登录页面</title>
<script type="text/javascript"
	src="jqueryui/js/libs/jquery/jquery-1.11.1.js"></script>
<script type="text/javascript"
	src="jqueryui/js/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="jqueryui/js/jquery.validate.js"></script>
<!-- 
<script type="text/javascript"
	src="jslib/jquery-easyui-1.4/jquery.min.js"></script>
<script type="text/javascript"
	src="jslib/jquery-easyui-1.4/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="jslib/jquery-easyui-1.4/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css"
	href="jslib/jquery-easyui-1.4/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="jslib/jquery-easyui-1.4/themes/icon.css">
<script type="text/javascript" src="jslib/jsUtil.js"></script> -->
<link href="css/skin.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #1D3647;
}
-->
</style>
<script type="text/javascript">
	$(function() {

		$("#login_loginForm").validate({
			rules : {
				name : {
					required : true,
					minlength : 5,
				},
				pwd : {
					required : true,
				},
			},
			messages : {
				name : {
					required : '帐号不得为空！',
					minlength : jQuery.format('帐号不得小于{0}位！'),
				},
				pwd : {
					required : '密码不能为空！',
				}
			}
		});

		window.setTimeout(function() {
			$("#login_loginForm input[name=name]").focus();
		}, 0);

		$("#login_loginForm input").bind("keyup", function(event) {
			if (event.keyCode == "13") {
				$("#login_loginForm").submit();
			}
		});
	});

	function formSubmit() {
		$("#login_loginForm").submit();
	}
</script>

</head>

<body>
	<table width="100%" height="166" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="42" valign="top">
				<table width="100%" height="42" border="0" cellpadding="0"
					cellspacing="0" class="login_top_bg">
					<tr>
						<td width="1%" height="21">&nbsp;</td>
						<td height="42">&nbsp;</td>
						<td width="17%">&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td valign="top">
				<table width="100%" height="532" border="0" cellpadding="0"
					cellspacing="0" class="login_bg">
					<tr>
						<td width="49%" align="right">
							<table width="91%" height="532" border="0" cellpadding="0"
								cellspacing="0" class="login_bg2">
								<tr>
									<td height="138" valign="top">
										<table width="89%" height="427" border="0" cellpadding="0"
											cellspacing="0">
											<tr>
												<td height="149">&nbsp;</td>
											</tr>
											<tr>
												<td height="80" align="right" valign="top"><img
													src="images/logo_login.png" width="279" height="68"></td>
											</tr>
											<tr>
												<td height="198" align="right" valign="top">
													<table width="100%" border="0" cellpadding="0"
														cellspacing="0">
														<tr>
															<td width="35%">&nbsp;</td>
															<td height="25" colspan="2" class="left_txt">
																<p>1- 地区商家信息网门户站建立的首选方案...</p>
															</td>
														</tr>
														<tr>
															<td>&nbsp;</td>
															<td height="25" colspan="2" class="left_txt">
																<p>2- 一站通式的整合方式，方便用户使用...</p>
															</td>
														</tr>
														<tr>
															<td>&nbsp;</td>
															<td height="25" colspan="2" class="left_txt">
																<p>3- 强大的后台系统，管理内容易如反掌...</p>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
						<td width="1%">&nbsp;</td>
						<td width="50%" valign="bottom">
							<table width="100%" height="59" border="0" align="center"
								cellpadding="0" cellspacing="0">
								<tr>
									<td width="4%">&nbsp;</td>
									<td width="96%" height="38"><span class="login_txt_bt">OA办公系统登录</span></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td height="21">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0"
											id="table211" height="328">
											<tr>
												<td height="164" colspan="2" align="center">
													<form id="login_loginForm" method="post"
														action="${pageContext.request.contextPath}/userAction!login.action">
														<table cellSpacing="0" cellPadding="0" width="100%"
															border="0" height="143" id="table212">
															<tr>
																<td width="13%" height="38" class="top_hui_text"><span
																	class="login_txt">管理员：&nbsp;&nbsp; </span></td>
																<td height="38" colspan="2" class="top_hui_text"><input
																	name="name" class="editbox4" value="" size="20">
																</td>
															</tr>
															<tr>
																<td width="13%" height="35" class="top_hui_text"><span
																	class="login_txt"> 密 码： &nbsp;&nbsp; </span></td>
																<td height="35" colspan="2" class="top_hui_text"><input
																	class="editbox4" type="password" size="20" name="pwd">
																	<img src="images/luck.gif" width="19" height="18"></td>
															</tr>
															<tr>
																<td width="13%" height="35"><span class="login_txt">验证码：</span></td>
																<td height="35" colspan="2" class="top_hui_text"><input
																	class=wenbenkuang name=verifycode type=text value=""
																	maxLength=4 size=10></td>
															</tr>
															<tr>
																<td height="35">&nbsp;</td>
																<td width="20%" height="35"><input name="Submit"
																	type="submit" class="button" id="Submit" value="登 陆"
																	onclick="formSubmit();"></td>
																<td width="67%" class="top_hui_text"><input
																	name="cs" type="button" class="button" id="cs"
																	value="注 册" onClick="showConfirmMsg1()"></td>
															</tr>
														</table>
														<br>
													</form>
												</td>
											</tr>
											<tr>
												<td width="433" height="164" align="right" valign="bottom"><img
													src="images/login-wel.gif" width="242" height="138"></td>
												<td width="57" align="right" valign="bottom">&nbsp;</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="20">
				<table width="100%" border="0" cellspacing="0" cellpadding="0"
					class="login-buttom-bg">
					<tr>
						<td align="center"><span class="login-buttom-txt">Copyright
								&copy; 2014 wp oa办公系统</span></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>
